package cn.zwx.activiti.example.model.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.activiti.api.process.model.ProcessInstance;
import org.activiti.engine.repository.ProcessDefinition;

/**
 * @description:
 * @projectName:activiti-example
 * @see:cn.zwx.activiti.example.model.resp
 * @author:zhangwenxue
 * @createTime:2021/6/1 23:19
 * @version:1.0
 */
@Data
@ApiModel("查询流程实例列表返回参数")
public class QueryInstancesListResp {

    @ApiModelProperty("流程实例id")
    private String id ;

    @ApiModelProperty("流程实例名称")
    private String name ;

    @ApiModelProperty("流程实例状态")
    private ProcessInstance.ProcessInstanceStatus status ;

    @ApiModelProperty("流程定义id")
    private String processDefinitionId ;

    @ApiModelProperty("流程定义Key")
    private String processDefinitionKey ;

    @ApiModelProperty("开始时间 格式 yyyy-MM-dd HH:mm:ss")
    private String startDate ;

    @ApiModelProperty("流程资源名称")
    private String resourceName;

    @ApiModelProperty("流程部署id")
    private String deploymentId;

    @ApiModelProperty("流程定义版本号")
    private String processDefinitionVersion;


}
